package com.bcinfo.iccard.model;

import java.io.Serializable;

public class ComboCardProductDetail implements Serializable{
    /**  
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
     */
    private static final long serialVersionUID = -5808850017764436747L;

    private Long comboCardProductDetailId;

    private Long comboCardId;

    private Long merchantId;

    private String productNames;

    private Float productOrignalPrice; //原价格

    private Float productFavorablePrice; //优惠价格

    private Float productSalePrice; //销售价格

    private Integer productCopies; //商品份数

    private Float productRaisePriceRate; //商品加价百分比
    
    private Merchant merchant;

    public Long getComboCardProductDetailId() {
        return comboCardProductDetailId;
    }

    public void setComboCardProductDetailId(Long comboCardProductDetailId) {
        this.comboCardProductDetailId = comboCardProductDetailId;
    }

    public Long getComboCardId() {
        return comboCardId;
    }

    public void setComboCardId(Long comboCardId) {
        this.comboCardId = comboCardId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getProductNames() {
        return productNames;
    }

    public void setProductNames(String productNames) {
        this.productNames = productNames == null ? null : productNames.trim();
    }

    public Integer getProductCopies() {
        return productCopies;
    }

    public void setProductCopies(Integer productCopies) {
        this.productCopies = productCopies;
    }

    /**
     * @return the merchant
     */
    public Merchant getMerchant()
    {
        return merchant;
    }

    /**
     * @param merchant the merchant to set
     */
    public void setMerchant(Merchant merchant)
    {
        this.merchant = merchant;
    }

    /**
     * @return the productOrignalPrice
     */
    public Float getProductOrignalPrice()
    {
        return productOrignalPrice;
    }

    /**
     * @param productOrignalPrice the productOrignalPrice to set
     */
    public void setProductOrignalPrice(Float productOrignalPrice)
    {
        this.productOrignalPrice = productOrignalPrice;
    }

    /**
     * @return the productFavorablePrice
     */
    public Float getProductFavorablePrice()
    {
        return productFavorablePrice;
    }

    /**
     * @param productFavorablePrice the productFavorablePrice to set
     */
    public void setProductFavorablePrice(Float productFavorablePrice)
    {
        this.productFavorablePrice = productFavorablePrice;
    }

    /**
     * @return the productSalePrice
     */
    public Float getProductSalePrice()
    {
        return productSalePrice;
    }

    /**
     * @param productSalePrice the productSalePrice to set
     */
    public void setProductSalePrice(Float productSalePrice)
    {
        this.productSalePrice = productSalePrice;
    }

    /**
     * @return the productRaisePriceRate
     */
    public Float getProductRaisePriceRate()
    {
        return productRaisePriceRate;
    }

    /**
     * @param productRaisePriceRate the productRaisePriceRate to set
     */
    public void setProductRaisePriceRate(Float productRaisePriceRate)
    {
        this.productRaisePriceRate = productRaisePriceRate;
    }

    /* (non-Javadoc)
     * Description: <br/> 
     *
     * @return 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "ComboCardProductDetail [comboCardProductDetailId=" + comboCardProductDetailId + ", comboCardId="
                + comboCardId + ", merchantId=" + merchantId + ", productNames=" + productNames
                + ", productOrignalPrice=" + productOrignalPrice + ", productFavorablePrice=" + productFavorablePrice
                + ", productSalePrice=" + productSalePrice + ", productCopies=" + productCopies
                + ", productRaisePriceRate=" + productRaisePriceRate + ", merchant=" + merchant + "]";
    }

}